Secant of angle in radians - MATLAB sec
www.mathworks.com › help › matlabDescription. Y = sec (X) returns the secant of the elements of X. The sec function operates element-wise on arrays. The function accepts both real and complex inputs. For real values of X, sec (X) returns real values in the interval [-∞, -1] and [1, ∞]. For complex values of X , sec (X) returns complex values.